@layout("/common/_container.html",{js:["/assets/modular/system/btyZxMdgz/btyZxMdgz.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">

                            <div class="layui-inline">
                                <label class="layui-form-label">月份</label>
                                <div class="layui-inline">
                                    <input id="timeLimit" class="layui-input" type="text" autocomplete="off" placeholder="月份"/>
                                    <input id="timeLimit1" hidden/>
                                </div>
                            </div>

                            <div class="layui-inline">
                            <button id="btnAdd" class="layui-btn icon-btn">获取装修工资</button>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label layui-inline shop-name">门店名称</label>
                                <div class="layui-inline">
                                    <select id="name" lay-search lay-filter="name" lay-verify="required" required>
                                        <option value="">门店名称</option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
<!--                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>-->
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="btyZxMdgzTable" lay-filter="btyZxMdgzTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    {{#  if(d.status == '2'){ }}
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="pass">生成报销单</a>
    {{# } }}

    {{#  if(d.status == '1'){ }}
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="rebut">撤回报销单</a>
    {{# } }}
</script>
@}